import { Component } from '@angular/core';
import { TopMenu } from './components';
import {ImageSlider} from "./components/image-slider";



@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})



export class AppComponent {
 topMenus:TopMenu[]=[
  {
    title:'热门',
    link:'#'
  },
  {
    title:'男装',
    link:'#'
  },
  {
    title:'百货',
    link:'#'
  },
  {
    title:'运动',
    link:'#'
  },
  {
    title:'手机',
    link:'#'
  },
  {
    title:'家纺',
    link:'#'
  },
  {
    title:'食品',
    link:'#'
  },
  {
    title:'电器',
    link:'#'
  },
  {
    title:'鞋包',
    link:'#'
  },
  {
    title:'汽车',
    link:'#'
  },
  {
    title:'水果',
    link:'#'
  },
  {
    title:'电脑',
    link:'#'
  },
  {
    title:'内衣',
    link:'#'
  },
  {
    title:'家装',
    link:'#'
  },
  {
    title:'母婴',
    link:'#'
  },
  {
    title:'美妆',
    link:'#'
  },
  {
    title:'家具',
    link:'#'
  }
 ];

 topMenus2:TopMenu[]=[
  {
    title:'牛逼了',
    link:'#'
  }
 ];

 imageSliders:ImageSlider[]=[
   {
     imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201511%2F07%2F20151107141236_veKdN.jpeg&refer=http%3A%2F%2Fb-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648281359&t=bf3ee188f1b4f595eaebca9468fd1c2c",
     link:"",
     caption:"邓紫棋"
   },
   {
     imgUrl:"https://img14.360buyimg.com/pop/jfs/t26662/116/1300438042/400852/34e69009/5bc5900fN0487d69c.jpg",
     link:"",
     caption:"徐佳莹"
   },
   {
     imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01ba8f5c960f61a801214168222a12.jpg%402o.jpg&refer=http%3A%2F%2Fimg.zcool.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648281359&t=c0b8e484bf66fb20893b7e31895d9e79",
     link:"",
     caption:"邓紫棋"
   },
   {
     imgUrl:"https://img1.baidu.com/it/u=2240026814,3628169096&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=563",
     link:"",
     caption:"徐佳莹"
   }
 ];

 handleTabSelected(topMenu:TopMenu){
   console.log(topMenu);
 }



}
